package com.briup.ch07.abstructs;

public class Test {
    public static void main(String[] args) {
        //2.抽象类不能实例化对象
        //Shape s1=new Shape();//报错
        Circle c1=new Circle("圆",10);
        System.out.println(c1.getArea());
        Shape c2=new Circle("圆",12);
        System.out.println(c2.getArea());
    }

}
